package org.learn.spring5.bean;


import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

//班级类
public class Classes {

    //数组类型
    private String[] student;
    //集合类型
    private List<String> list;
    //map类型
    private Map<String, String> maps;

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    //对象类型
    private List<Student> students;


    public void setStudent(String[] student) {
        this.student = student;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public void setMaps(Map<String, String> maps) {
        this.maps = maps;
    }


    public void test() {
        System.out.println(Arrays.toString(student));
        System.out.println(list);
        System.out.println(maps);
        System.out.println(students);

    }
}
